package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.Flight;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FlightMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Flight record);

    int insertSelective(Flight record);

    Flight selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Flight record);

    int updateByPrimaryKey(Flight record);

    List<Flight> selectArr(@Param("orgCity") String orgCity, @Param("dstCity") String dstCity);

    /**
     * 批量增加价格
     *
     * @param i
     * @param rannum
     */
    void updatePice(@Param("i") int i, @Param("rannum") int rannum);
}